package tresp.utils;



/**
 * <b>ConfigurationManager</b>
 * 
 * <p>
 * 	This class is responsible for reading configurations for different parameters.
 * </p>
 * 
 * 
 * @author <font color="blue">Maxim Kirilov</font>
 *
 */
public class ConfigurationManager {
/*
    private static Logger logger = Logger.getLogger( ConfigurationManager.class );
        
    private static XMLConfiguration config;
    
    private static final String CONFIGURATION_FILE = "agent-configurations.xml";
    
    private ConfigurationManager(){
		
    }
    
    
    public static XMLConfiguration getConfiguration(){
		if ( config == null){
		    synchronized( ConfigurationManager.class ){
			if ( config == null){
			    try {
				config = new XMLConfiguration( CONFIGURATION_FILE );
			    } catch (ConfigurationException e) {
				logger.error("Failed to read configuration from: "+ CONFIGURATION_FILE + e);
			    }
			}
		    }
		}
		return config;
    }  
*/  
}
